package cn.mazexal.exambg.models.db;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 试卷级联菜单，多重嵌套
 *
 */
@Data
@TableName(value = "video_menu")
public class VideoMenuDO implements Serializable {

	/**
	 * 
	 */
	@TableId(value = "id", type = IdType.AUTO)
	private Long id;

	/**
	 * 
	 */
	@TableField(value = "parent_id")
	private Long parentId;

	/**
	 * 
	 */
	@TableField(value = "name")
	private String name;

	/**
	 * 类型1，文件夹，2，选项
	 */
	@TableField(value = "menu_type")
	private Integer menuType;

	/**
	 * 
	 */
	@TableField(value = "create_time")
	private Long createTime;

	/**
	 * 
	 */
	@TableField(value = "update_time")
	private Long updateTime;

	/**
	 * 
	 */
	@TableField(value = "is_del")
	private Integer isDel;

	/**
	 * 
	 */
	@TableField(value = "exam_bank_id")
	private Long examBankId;

	/**
	 * 排序值
	 */
	@TableField(value = "sort_num")
	private Integer sortNum;

	/**
	 * 路径
	 */
	@TableField(value = "path")
	private String path;

	/**
	 * 视频地址
	 */
	@TableField(value = "video_url")
	private String videoUrl;

}